package com.dtease.agent.biz.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dtease.agent.biz.resource.entity.RelClusterServiceDetail;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 集群通用服务详情 Mapper 接口
 * </p>
 *
 * @author chentl
 * @since 2025-05-07
 */
public interface RelClusterServiceDetailMapper extends BaseMapper<RelClusterServiceDetail> {

    /**
     * 根据集群ID查询集群服务详情
     *
     * @param clusterId 集群ID
     * @param serviceId 服务ID
     * @return 集群服务详情列表
     */
    RelClusterServiceDetail selectByClusterId(@Param("clusterId") String clusterId, @Param("serviceId") String serviceId);
}
